package com.idanchuang.project.basic.controller;

import com.idanchuang.component.base.JsonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 聚合层接口样例
 * @author yjy
 * @date 2020/5/14 13:03
 **/
@RestController
@RequestMapping("sample")
public class SampleController {

    @GetMapping("hello")
    public JsonResult<String> hello() {
        return JsonResult.success();
    }

}
